﻿using BCCommon;
using BCCommon.Enums;
using BCDto.WeChatComponent.WeChatMessageRecord;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.WeChatComponent.WeChatMessageRecordService
{
    /// <summary>
    /// 微信粉丝留言记录服务接口
    /// </summary>
    public interface IWeChatMessageRecordService
    {
        /// <summary>
        /// 获取粉丝留言记录
        /// </summary>
        /// <param name="fromUserName">发送者</param>
        /// <param name="toUserName">接收者</param>
        /// <param name="start">开始时间</param>
        /// <param name="end">结束时间</param>
        /// <param name="messageType">消息类型</param>
        /// <param name="isReplied">已回复</param>
        /// <param name="eventName">事件名称</param>
        /// <param name="eventKey">事件Key值</param>
        /// <param name="ascending">排序</param>
        /// <param name="pageIndex">当前页码</param>
        /// <param name="pageSize">每页数据条数</param>
        /// <returns></returns>
        PageableList<WeChatMessageRecordDto> Get(string fromUserName,string toUserName,DateTime? start,DateTime? end, WeChatMessageType? messageType,bool? isReplied, string eventName, string eventKey, bool? ascending, int pageIndex=1,int pageSize=10);
    }
}
